package com.labManage.dao;

import com.labManage.entity.Role;
import com.labManage.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleDao {
    int deleteUserRoleInfoByUserId(@Param("user") User user);

    int insertUserRoleInfoByUserId(@Param("user")User user, @Param("roles")List<Long> roles);

    int deleteUserRoleByRoleId(Long roleId);
}
